package com.fastgwt.client.mvc.view;

import com.fastgwt.shared.dto.Employee;
import com.google.gwt.editor.client.Editor;
import com.sencha.gxt.widget.core.client.form.NumberField;
import com.sencha.gxt.widget.core.client.form.NumberPropertyEditor;
import com.sencha.gxt.widget.core.client.form.TextField;

public class EmployeeEditor implements Editor<Employee> {
	TextField job = new TextField();
	TextField email = new TextField();
	NumberField<Long> employeeId = new NumberField<Long>(
			new NumberPropertyEditor.LongPropertyEditor());
	TextField employeeSurname = new TextField();
	TextField employeeName = new TextField();

	@Ignore
	public TextField getJob() {
		return job;
	}

	@Ignore
	public TextField getEmail() {
		return email;
	}

	@Ignore
	public NumberField<Long> getEmployeeId() {
		return employeeId;
	}

	@Ignore
	public TextField getEmployeeSurname() {
		return employeeSurname;
	}

	@Ignore
	public TextField getEmployeeName() {
		return employeeName;
	}

}
